import React from 'react';
import { Component } from "@tarojs/taro-rn";
import { Text, View } from "@tarojs/components-rn";
import { getRuntime } from "../utils/common";
let ViewPhone = class ViewPhone extends Component {
  handelRouter(url) {
    getRuntime().navigateTo(url);
  }
  render() {
    return <View>
        <Text className="view-phone" onClick={this.handelRouter.bind(this, '/pages/user/upgrade')}>查看信息</Text>
      </View>;
  }
};

export default ViewPhone;